# 字典的增删改查

dict1 = {
    "第一位大师":123,
    "第二位大侠":832,
    True:"kuku",
}

# 增
print(dict1)
dict1[False] = "GO"
print(dict1)


# 删
dict1.pop("第一位大师")
print(dict1)

# 改
dict1["第二位大侠"] = 886
print(dict1)

# 查
for x in dict1:
    print(dict1[x], end=" ")

print()


dict2 = {
    "kuku" : 996,
    True : "mimi",
    "ppp":13.4
}
# 两个字典的合并
dict1.update(dict2)
print(dict1)
